]> dgit.raspbian.org Git - gnome-shell.git/commit
Calendar: clean up code by always having an event source
authorGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 4 Mar 2013 16:04:28 +0000 (17:04 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 4 Mar 2013 17:59:30 +0000 (18:59 +0100)
commitbeb0fdf4b86e87cffdf856b86b5f16482075941e
tree39dd20f6dfd9908c1020f23f89fa6245409ee6df
parent443fe813c361585b6d4163a919e5964e497449fd
Calendar: clean up code by always having an event source

Instead of sometimes having an event source and sometimes not, use
the empty event source when the session mode says the calendar is
disabled. This way, the code can assume an event source object and
avoid checks.

https://bugzilla.gnome.org/show_bug.cgi?id=641383
js/ui/calendar.js
js/ui/dateMenu.js